﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Profile.ascx.vb" Inherits="FrontEnd_Control_Users_Profile" %>
<%@ Register Assembly="ValidationTextBox" Namespace="ValidationTextBox.CustomControls"
    TagPrefix="cc1" %>
<%@ Register Assembly="ValidationDropdownlist" Namespace="ValidationDropdownlist.CustomControls"
    TagPrefix="cc2" %>
<script type="text/javascript">
    function ajaxJquery() {
        $(function () {

            $("#<%= btnRegister.ClientID %>").click(function () {
                if (validateFormInputs() == true) {

                    return true;
                } else {

                    return false;
                }
            });
        });
    }
</script>
<asp:UpdatePanel ID="uplUsers" runat="server">
    <ContentTemplate>
        <div class="content_porletform">
            <div class="bgtitle_porletright_view">
                <div class="texttitle_porletright_view">
                    CẬP NHẬT THÔNG TIN CÁ NHÂN</div>
            </div>
            <div class="box_contentform">
                <div class="box_scroll_grid">
                    <div class="bgmid_porletright">
                        <div class="bgcontent_porletinfo">
                            <!-- note form -->
                            <div class="note_form">
                                Các trường đánh dấu <span style="color: Red;">*</span> là bắt buộc</div>
                            <!-- note form -->
                            <table class="tableinfo" width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr class="rowinfo">
                                    <td class="label" width="150px">
                                        Họ và tên:
                                    </td>
                                    <td class="input_text">
                                        <cc1:ValidationTextBox ID="txtFullName" AssociatedLableText="họ và tên" CssClass="TextBox"
                                            MaxLength="100" runat="server" DataType="required"></cc1:ValidationTextBox>
                                        <span style="color: Red;">*</span>
                                    </td>
                                </tr>
                                <tr class="rowinfo">
                                    <td class="label">
                                        Ngày sinh:
                                    </td>
                                    <td class="input_text">
                                        <cc2:ValidationDropdownlist ID="ddlDay" AssociatedLableText="ngày" CssClass="input_select DropDownList"
                                            Width="70" runat="server" DataType="required">
                                        </cc2:ValidationDropdownlist>
                                        &nbsp;
                                        <cc2:ValidationDropdownlist ID="ddlMonth" CssClass="input_select DropDownList" AssociatedLableText="tháng"
                                            Width="70" runat="server" DataType="required">
                                        </cc2:ValidationDropdownlist>
                                        &nbsp;
                                        <cc2:ValidationDropdownlist ID="ddlYear" CssClass="input_select DropDownList" AssociatedLableText="năm"
                                            Width="70" runat="server" DataType="required">
                                        </cc2:ValidationDropdownlist>
                                        <span style="color: Red;">*</span>
                                    </td>
                                </tr>
                                <tr class="rowinfo">
                                    <td class="label">
                                        Giới tính:
                                    </td>
                                    <td class="input_text">
                                        <cc2:ValidationDropdownlist ID="ddlGender" AssociatedLableText="giới tính" runat="server"
                                            CssClass="input_form DropDownList" Width="100px" DataType="required">
                                            <asp:ListItem Value="0">---Chọn---</asp:ListItem>
                                            <asp:ListItem Value="1">Nam</asp:ListItem>
                                            <asp:ListItem Value="2">Nữ</asp:ListItem>
                                        </cc2:ValidationDropdownlist>
                                        <span style="color: Red;">*</span>
                                    </td>
                                </tr>
                                <tr class="rowinfo">
                                    <td class="label">
                                        Địa chỉ:
                                    </td>
                                    <td class="input_text">
                                        <cc1:ValidationTextBox ID="txtDiaChi" runat="server" AssociatedLableText="địa chỉ"
                                            CssClass='TextBox' DataType="required"></cc1:ValidationTextBox>
                                        <span style="color: Red;">*</span>
                                    </td>
                                </tr>
                                <tr class="rowinfo">
                                    <td class="label">
                                        Tỉnh:
                                    </td>
                                    <td class="input_text">
                                        <cc2:ValidationDropdownlist ID="ddlTinh" Group="reg" AssociatedLableText="Tỉnh" runat="server"
                                            Width="145px" Style="float: left;" CssClass='DropDownList' DataType="required"
                                            disabled="disabled">
                                        </cc2:ValidationDropdownlist>
                                        <span style="color: Red; margin: 5px;">*</span>
                                    </td>
                                </tr>
                                <tr class="rowinfo">
                                    <td class="label">
                                        Huyện / Thành Phố :
                                    </td>
                                    <td class="input_text">
                                        <cc2:ValidationDropdownlist ID="ddlHuyen" Group="reg" AssociatedLableText="Huyện"
                                            runat="server" Width="145px" Style="float: left;" CssClass='DropDownList' DataType="required"
                                            AutoPostBack="True">
                                        </cc2:ValidationDropdownlist>
                                        <span style="color: Red; margin: 5px;">*</span>
                                    </td>
                                </tr>
                                <tr class="rowinfo">
                                    <td class="label">
                                        Xã / Thị trấn :
                                    </td>
                                    <td class="input_text">
                                        <cc2:ValidationDropdownlist ID="ddlXaThiTran" Group="reg" AssociatedLableText="Xã thị trấn"
                                            runat="server" Width="145px" Style="float: left;" CssClass='DropDownList' DataType="required">
                                        </cc2:ValidationDropdownlist>
                                        <span style="color: Red; margin: 5px;">*</span>
                                    </td>
                                </tr>
                                <tr class="rowinfo">
                                    <td class="label">
                                        Điện thoại:
                                    </td>
                                    <td class="input-text">
                                        <cc1:ValidationTextBox ID="txtDienThoai" runat="server" AssociatedLableText="điện thoại"
                                            CssClass='TextBox' DataType="required"></cc1:ValidationTextBox>
                                        <span style="color: Red;">*</span>
                                    </td>
                                </tr>
                                <tr class="rowinfo">
                                    <td class="label">
                                        Điện thoại khác:
                                    </td>
                                    <td class="input_text">
                                        <cc1:ValidationTextBox ID="txtDienThoaiKhac" runat="server" CssClass='TextBox'></cc1:ValidationTextBox>
                                    </td>
                                </tr>
                                <tr class="rowinfo">
                                    <td class="label">
                                        &nbsp;
                                    </td>
                                    <td class="input_text">
                                        <asp:Button ID="btnRegister" runat="server" Text=" Cập nhật " CausesValidation="false"
                                            CssClass="btn btn-info" />
                                        &nbsp;
                                        <asp:Button ID="btnHuy" runat="server" Text=" Hủy " CausesValidation="false" CssClass="btn btn-info" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="bgbottom_porletright">
                    </div>
                </div>
                <!-- end Box ReGis -->
                <div style="display: none">
                    <asp:HiddenField ID="Ablage" Value="abc" runat="server" />
                </div>
                <!-- box Regis -->
            </div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
